package cn.wgd.zmx.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@Api("路径转发")
public class UrlController {

<<<<<<< HEAD
    @RequestMapping(value = "/index.html", method = RequestMethod.GET)
    @ApiOperation(value = "根路径")
    public String index() {
=======
    @RequestMapping(value = "/index.html",method = RequestMethod.GET)
    @ApiOperation(value = "根路径")
    public String index(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "index";
    }

    /**
     * 首页
     *
     * @return
     */
<<<<<<< HEAD
    @RequestMapping(value = "/pages/main.html", method = RequestMethod.GET)
    @ApiOperation(value = "首页")
    public String main() {
        return "pages/main";
    }

    @RequestMapping(value = "/main.html", method = RequestMethod.GET)
    @ApiOperation(value = "首页")
    public String main_1() {
=======
    @RequestMapping(value = "/pages/main.html",method = RequestMethod.GET)
    @ApiOperation(value = "首页")
    public String main(){
        return "pages/main";
    }

    @RequestMapping(value = "/main.html",method = RequestMethod.GET)
    @ApiOperation(value = "首页")
    public String main_1(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "pages/main";
    }

    /**
     * 职业大全
     *
     * @return
     */
<<<<<<< HEAD
    @RequestMapping(value = "/work.html", method = RequestMethod.GET)
    @ApiOperation(value = "职业大全")
    public String work() {
        return "pages/work";
    }

    /**
     * 专业大全
     */
    @RequestMapping(value = "/professional.html", method = RequestMethod.GET)
    @ApiOperation(value = "专业大全")
    public String professional() {
        return "pages/professional";
=======
    @RequestMapping(value = "/work.html",method = RequestMethod.GET)
    @ApiOperation(value = "职业大全")
    public String work(){
        return "pages/work";
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
    }

    /**
     * 更多功能
     *
     * @return
     */
<<<<<<< HEAD
    @RequestMapping(value = "/extension.html", method = RequestMethod.GET)
    @ApiOperation("更多功能")
    public String extension() {
=======
    @RequestMapping(value = "/extension.html",method = RequestMethod.GET)
    @ApiOperation("更多功能")
    public String extension(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "pages/extension";
    }

    /**
     * 成绩分析
     */
<<<<<<< HEAD
    @RequestMapping(value = "/grade.html", method = RequestMethod.GET)
    @ApiOperation("成绩分析")
    public String grade() {
=======
    @RequestMapping(value = "/grade.html",method = RequestMethod.GET)
    @ApiOperation("成绩分析")
    public String grade(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "pages/grade";
    }

    /**
     * 测评推专业
     */
<<<<<<< HEAD
    @RequestMapping(value = "/measurement.html", method = RequestMethod.GET)
    @ApiOperation("测评推专业")
    public String measurement() {
=======
    @RequestMapping(value = "/measurement.html",method = RequestMethod.GET)
    @ApiOperation("测评推专业")
    public String measurement(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "pages/measurement";
    }

    /**
     * 录取概率
     */
<<<<<<< HEAD
    @RequestMapping(value = "/Admission_probability.html", method = RequestMethod.GET)
    @ApiOperation("录取概率")
    public String AdmissionProbability() {
=======
    @RequestMapping(value = "/Admission_probability.html",method = RequestMethod.GET)
    @ApiOperation("录取概率")
    public String AdmissionProbability(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "pages/Admission_probability";
    }

    /**
     * 院校大全
     */
<<<<<<< HEAD
    @RequestMapping(value = "/school.html", method = RequestMethod.GET)
    @ApiOperation("学校大全")
    public String school() {
=======
    @RequestMapping(value = "/school.html",method = RequestMethod.GET)
    @ApiOperation("学校大全")
    public String school(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "pages/school";
    }

    /**
     * 登陆
     */
<<<<<<< HEAD
    @RequestMapping(value = "/login", method = RequestMethod.GET)
    @ApiOperation("登录")
    public String login() {
=======
    @RequestMapping(value = "/login",method = RequestMethod.GET)
    @ApiOperation("登录")
    public String login(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "login";
    }

    /**
     * 用户管理界面
     */
<<<<<<< HEAD
    @RequestMapping(value = "/um.html", method = RequestMethod.GET)
    @ApiOperation("用户管理界面url")
    public String um() {
=======
    @RequestMapping(value = "/um.html",method = RequestMethod.GET)
    @ApiOperation("用户管理界面url")
    public String um(){
>>>>>>> 6d085ac650d1276c28ed128411d02424e862f186
        return "managers/um.html";
    }
}
